package org.example.myleet.p736;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(14 == solution.evaluate("(let x 2 (mult x (let x 3 y 4 (add x y))))"));
        Assert.isTrue(2 == solution.evaluate("(let x 3 x 2 x)"));
        Assert.isTrue(5 == solution.evaluate("(let x 1 y 2 x (add x y) (add x y))"));
        Assert.isTrue(-12 == solution.evaluate("(let x 7 -12)"));
    }
}
